package com.shell.governor.organization.dao;

import com.shell.bee.persistence.mapper.BaseMapper;
import com.shell.governor.organization.po.PubOrgan;
import com.shell.governor.organization.vo.PubOrganVo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public abstract interface PubOrganDao extends BaseMapper<PubOrgan> {
	public abstract List<PubOrganVo> queryOrganMsgByCondition(PubOrganVo paramPubOrganVo);

	public abstract String selectParentName(@Param("organId") String paramString);

	public abstract int updateOrganStateWithCascade(@Param("organId") String paramString1,
			@Param("organState") String paramString2);

	public abstract List<PubOrgan> selectByOrganName(@Param("organName") String paramString);

	public abstract PubOrgan selectByOrganId(@Param("organId") String paramString);

	public abstract PubOrgan selectOrganByCode(@Param("organCode") String paramString);

	public abstract List<PubOrganVo> selectOrganStru(@Param("parentId") String paramString1,
			@Param("organState") String paramString2);

	public abstract PubOrganVo selectOrganStruByOrganCode(@Param("organCode") String paramString);
}
